<?php

use Biz\service\trade\Order as sOrder;

class DeleteAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_REGISTER;

    public function main()
    {
        $orderNo = $this->getRequest()->getPost('order_no');

        $data = sOrder::deleteOrder($this->uid, $orderNo);

        $this->setSuccess($data);
    }
}